/*
 * @Author: xyf
 * @Date: 2021-06-28 17:51:29
 * @LastEditTime: 2021-07-13 15:24:26
 * @LastEditors: xyf
 * @Description: 全局配置
 */

const env = import.meta.env.MODE || 'production'
const envConfig = {
  development: {
    baseApi: 'https://www.fastmock.site/mock/a5262ae77b9afc29948f984bb562397e/rpa',
    mockApi: 'http://192.168.8.221:3000/mock/67'
  },
  production: {
    baseApi: '/api',
    mockApi: ''
  }
}

export default {
  env,
  mock: true,
  namespace: 'processMarket',
  ...envConfig[env]
}
